home *** CD-ROM | disk | FTP | other *** search
- Path: news.polymtl.ca!von-neumann!bluefox
- From: bluefox@info.polymtl.ca (Michael Gaudette)
- Newsgroups: comp.lang.c++
- Subject: How can I include IOSTREAM.H only once?
- Date: 26 Feb 1996 04:51:44 GMT
- Organization: Ecole Polytechnique de Montreal
- Message-ID: <4gre90$oei@service.polymtl.ca>
- NNTP-Posting-Host: von-neumann.info.polymtl.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- I am presently engaged in what is usually called "the learning process",
- and I've been programming simple programs with classes. Because of this,
- I have had to #include <iostream.h> in most of my "class.cpp" files AND
- in my main program. This (added to conio.h and all the other standard
- libraries) usually result in a simple program being 20000 lines long.
- Is there any way (using Borland v4.5) to make the compiler only link
- those files ONCE?
-
- Thanks in advance for any help I may receive
-
- ------------------------------------------------------------------------------
- Michael Gaudette bluefox@info.polymtl.ca
- Computer Engineering student
- Ecole Polytechnique de Montreal "Trust No One" - The X-Files
-